package com.ecoolex.chinadutyfree.retailer.core.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.chinadutyfree.retailer.core.mapper.DirectMailGoodsProductIncrementDataMapper;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsProductIncrementData;
import com.ecoolex.framework.common.pojo.Page;

public interface DirectMailGoodsProductIncrementDataDAO extends DirectMailGoodsProductIncrementDataMapper {

	Long add(@Param("recordTime") Date recordTime,
		@Param("createUser") String createUser,
		@Param("createTime") Date createTime,
		@Param("updateUser") String updateUser,
		@Param("updateTime") Date updateTime,
		@Param("deleted") Boolean deleted,
		@Param("paid") String paid,
		@Param("afterSales") String afterSales,
		@Param("shipped") String shipped,
		@Param("complete") String complete,
		@Param("yesterday") String yesterday);

	long countByDate(@Param("startDate") Date startDate,
		@Param("endDate") Date endDate,
		@Param("customName") String customName);
	
	List<DirectMailGoodsProductIncrementData> quertByDate(@Param("startDate") Date startDate,
		@Param("endDate") Date endDate,
		@Param("customName") String customName,
		@Param("sortsOrder") String sortsOrder,
		@Param("page") Page page);
}